using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Management;
using System.Text;
using System.Security.Cryptography;
using Dll;

namespace Price_Guide
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        /// 
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            PriceGuideRegistry.SetMdiBar();
            
         //   if (SerialNumber.GetCodeSHA1(SerialNumber.GetCodeSHA1(SerialNumber.GetCodeMD5(SerialNumber.serialNumber()))) == "3D-86-1D-3C-B5-EF-48-FF-30-19-06-F7-69-FE-99-12-1C-94-CB-BF")
           if(true)
            {
                Dll.DataBaseConnection.s = Application.StartupPath;
                Dll.DataBaseConnection.getConnection();
                Application.Run(new Form1());
            }
            else
                Application.Run(new about(1));
        }
    }
}